package com.tjsinfo.tjsoa.system.dao;

import java.util.List;

import com.tjsinfo.tjsoa.system.vo.TSystemRolesGroup;
/**
 * 权限组DAO
 * @author Administrator
 *
 */
public interface ITSystemRolesGroupDAO {
	/**
	 * 添加
	 * @param transientInstance
	 */
	public abstract void save(TSystemRolesGroup transientInstance);
	/**
	 * 删除
	 * @param transientInstance
	 */
	public abstract void delete(TSystemRolesGroup persistentInstance);
	/**
	 * 根据ID查找
	 * @param transientInstance
	 */
	public abstract TSystemRolesGroup findById(java.lang.Integer id);
	/**
	 * 根据示例查找
	 * @param transientInstance
	 */
	public abstract List findByExample(TSystemRolesGroup instance);
	/**
	 * 根据属性查找
	 * @param transientInstance
	 */
	public abstract List findByProperty(String propertyName, Object value);
	/**
	 * 查找所有
	 * @param transientInstance
	 */
	public abstract List findAll();
	/**
	 * 更新
	 * @param transientInstance
	 */
	public abstract TSystemRolesGroup merge(TSystemRolesGroup detachedInstance);

	public abstract void attachDirty(TSystemRolesGroup instance);

	public abstract void attachClean(TSystemRolesGroup instance);

}